package com.yusysqdy.gulimail.member;

        import org.springframework.boot.SpringApplication;
        import org.springframework.boot.autoconfigure.SpringBootApplication;
        import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
        import org.springframework.cloud.openfeign.EnableFeignClients;
        import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

/**
 * 想要调用远程服务
 * 1）引入open-feign
 * 2）编写接口，告诉springcloud需要调用远程服务
 * 3）开启远程调用功能
 */

@EnableRedisHttpSession
@EnableFeignClients(basePackages = "com.yusysqdy.gulimail.member.feign")
@EnableDiscoveryClient
@SpringBootApplication
public class GulimailMemberApplication {

    public static void main(String[] args) {
        SpringApplication.run(GulimailMemberApplication.class, args);
    }

}